package com.cskaoyan.shopping.dal.entitys;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/**
 * @Description:
 * @Author llf
 * @Date 2022/6/18 18:59
 */
@Table(name = "tb_item_cat")
@Data
public class Category implements Serializable {
    @Id
    @KeySql(useGeneratedKeys = true)
    BigInteger id;

    BigInteger parentId;

    String name;

    Integer status;

    Integer sortOrder;

    Boolean isParent;

    String icon;

    String remark;

    Date created;

    Date updated;
}
